import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
//导入饿了么组件
import {
  Button,
  Select
} from 'element-ui'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 };
Vue.use(ElementUI)
Vue.use(Button)
Vue.use(Select)
//导入富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
// require styles
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor, /* { default global options } */)
 

//导入路由对象
import router from './router'
//导入过滤器
import './components/filter'

//导入axios
import './components/untils/myaxios'
new Vue({
  //渲染根组件
  render: h => h(App),
  router //注入到根实例
}).$mount('#app')